<template>
  <div>
    <div class="lackyDraw">
      <!-- <van-tabbar v-model="active">
        <van-tabbar-item @click="Link()">
          <span>活动</span>
          <img slot="icon" slot-scope="props" :src="props.active ? icon.active : icon.normal">
        </van-tabbar-item>
        <van-tabbar-item @click="Link1()">
          <span>我的</span>
          <img slot="icon" slot-scope="props" :src="props.active ? icon.active1 : icon.normal1">
        </van-tabbar-item>
      </van-tabbar> -->
      <router-view></router-view>
    </div>
  </div>
</template>
<script>
export default {
  name: "LotteryHome",
  data() {
    return {
      active: 0,
      icon: {
        normal: "https://gw.alicdn.com/tfs/TB1CKFpOgHqK1RjSZFPXXcwapXa-68-68.png",
        active: "https://gw.alicdn.com/tfs/TB1oU3WgTZmx1VjSZFGXXax2XXa-68-68.png",
        normal1: "https://gw.alicdn.com/tfs/TB1lkRqOkvoK1RjSZFNXXcxMVXa-68-68.png",
        active1: "https://gw.alicdn.com/tfs/TB1A7leOgTqK1RjSZPhXXXfOFXa-68-68.png"
      }
    };
  },
  methods: {
    back() {},
    Link() {
      this.$router.push("/LuckyDraw");
    },
    Link1() {
      this.$router.push("/LotteryMe");
    }
  },
  created: function() {}
};
</script>
<style lang="scss" scoped>
</style>
